package cn.tedu.medicalmanagementsystem.manager.service;

import cn.tedu.medicalmanagementsystem.manager.pojo.dto.ServiceTypeAddParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.ServiceTypeDelParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.ServiceTypeListQuery;
import cn.tedu.medicalmanagementsystem.manager.pojo.dto.ServiceTypeUpdateParam;
import cn.tedu.medicalmanagementsystem.manager.pojo.vo.ServiceTypeVO;

import java.util.List;

public interface ServiceTypeService {
    ServiceTypeVO add(ServiceTypeAddParam serviceTypeAddParam);
    ServiceTypeVO update(ServiceTypeUpdateParam serviceTypeUpdateParam);
    void delete(ServiceTypeDelParam serviceTypeDelParam);

    //    查询所有服务类
    List<ServiceTypeVO> allTypes();

    //  根据id查找服务类型
    ServiceTypeVO selectById(Long id);

    //    根据服务类型名称查找服务类型
    ServiceTypeVO selectByName(String name);


    List<ServiceTypeVO> selectServiceType(ServiceTypeListQuery serviceTypeListQuery);

}
